package com.itheima.dao.store;

import com.itheima.domain.store.Company;

import java.util.List;

public interface CompanyDao {
    //保存
    int save(Company company);

    //删除
    int delete(Company company);

    //更新
    int update(Company company);

    /**
     * 根据id进行查找
     * @param id
     * @return
     */
    Company findById(String id);



    /**
     * 查询所有
     * @return
     */
    List<Company> findAll();
}
